package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author liuw
 * @since 2019-09-02
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBS_T")
public class GwbsT extends PO<GwbsT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWBSENT", type = IdType.INPUT)
    private String GWBSENT;

    private String GWBSNAME;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBSDOCDATE;

    private BigDecimal GWBSSEQ;

    private String GWBS001;

    private String GWBS002;

    private String GWBS003;

    private String GWBS004;

    private BigDecimal GWBS005;

    private BigDecimal GWBS006;

    private BigDecimal GWBS007;

    private String GWBS008;

    private String GWBS009;

    private String GWBS010;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBS011;

    private String GWBS012;

    private String GWBS013;

    private String GWBS014;

    private String GWBS015;

    private String GWBS016;

    private String GWBS017;

    private String GWBS018;

    private BigDecimal GWBS019;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBS020;

    private String GWBS021;

    private String GWBSPLANT;

    private String GWBSLEGAL;

    private String GWBSACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWBSUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWBSGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWBSMODU;

    @TableField(fill = FieldFill.INSERT)
    private String GWBSTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBSDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWBSORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWBSORIU;

    /**
     * 业务部门
     */
    private String GWBS022;



    @Override
    protected Serializable pkVal() {
        return this.GWBSENT;
    }

}
